modified loading environment files