adding script to stop all processes

I think this pull request is clean now (sorry about the last)