fix stop script, add restart script