added command line switches