main.rb update for heroku