get config from env vars if set