Make sure the env variables are set.