Fixed stop script.