Added option to skip image pairs on error