submitting jobs to batch