Change alert and DB ensureKey with env_name