Adding safe deregistration CLI tools.

- These scripts do not remove the files.
- Additional bug fix in scenario removal.