read config from command line