Changes to production.rb file to fix heroku bugs.