Stop fumbling around with environment variables - this isn't 1997.
Like Dante’s inferno, every developer at some point has evolved their program through the many levels of configuration hell. Local variables, global variables, environment variables, environment variable files, variables pointing to different environment variable files. It can