Checked the required env vars.