modified envt.rb