added cdir arg

A new argument can be passed that will use the default location to the
vst structures if set. Bugs parsing optional arguments were also fixed.