Modified job_submit to attach additional arguments when provided.