Fixed issue with executing postdeploy script