Handle disabling script.