Fixed stop script