Checking for environment variables