Updated heroku maintenance script