Tweaked ImageExporter to save images with same ID