Added lines to application.rb hoping it will help heroku run