fixed error for tempfile; using shutil now
use local version of simulator_job.py