Two scripts I found useful when running simulations. You may need to adjust
the first few lines of both scripts.

