Modified production.rb 2