take config from command line