Altered application.rb in order to run in heroku.