re-instated the API key checks.