Modified env.rb