Script to fully automate CM-handle de-registration