updated with env var