amended production.rb