tweaked env var for endpoint