Settings: Check and fix missing environment variables