Fixed some namespace and cloning issues with the munge scripts.