clean up scripts which remove namespaces, sections and titles not needed