modified to work with thin on heroku
renaming