Add stop script.
Make start script a bit more robust.