Deregister scripts and then reregister them so later script invocations know they've been handled