Changed application.rb to work with Heroku.