reconfigured production.rb