updated rake populate to work in heroku