minor downloadimages job refactoring