fix stop script