added kjob call, combined the pipeline into a job