fixed post-deploy script