cmdline arg support

added commandline arguments support