run images in batches / misc optiomizations