Deregister scripts and then reregister them