Added array job support