heroku deploy script fixes