fix postDeployment script