I'm a bit confused by all these ifs but I think there is a potential bug here.

If I call the script with "vzps.py -e -f -w -w" then ```len(sys.argv) == 4```, so we enter this if statement and set ```ps_args = "-w -w"```, thus missing out the first two arguments.

I think that this last line (```ps_args = sys.argv[3:]```) should be placed in the previous if block, just after ```CTID = sys.argv[2]```.

I hope I'm clear here, do you see what I mean?