Delay loading of environment configuration until needed