Fixed my derp - needed to use getenv
Remove dupe env variable