added commandline options.