Fixed dry-run switch and added detection of Termination Protection