use command line flags for config