Add janky check for environment variables