fixed postinstall script for heroku