Fixing postdeploy script