Modified deploy.cgi to work with new subtree based publishing model