redid changes to production.rb