Fixed remove script.