updated application.rb for heroku