Add elements to a list using Command line or PML