updated process_job.py