Add commandline argument to specify number of skipped images in merge routine