Modified production.rb