modified file production.rb