bulk simulation script modifications for csv generation