Reverted environment.rb