env.rb clean up