Check environment for configuration