read config from environment