fixed postdeploy script