make simulation script to run separate pieces