changing application.rb for heroku deployment