deactivating script