do I have to use environment.commandline? or is there a better way to get them, perhaps separated into an array?