Add patch for batch job array support.