Added support for array jobs