Moved code for starting simulations from retrospect to here.