fixed #13; commbined load_study.psp and check_job_status.psp