Add environment loading to environment initializer