Get the env variables right.