Fix stop script.