application.rb changes to work with heroku