add command line processing