switching to python for the postdeploy script