added command line flags