Checking environment variables