Added job_instance parameter