Have get_environment_settings call go through frontend_ctx function pointer