rake file changes to make this work on heroku