Making job submission work