Fix all the env vars.