get config from environment