Restore anti-wipe detectors when reset script's settings
Fixes #3
Global script refactoring