Refactor simulation script; nuke old simulation script.