env.rb fix for deploy