added command line options.