Added donotdelete rule and verbose logging