use imagemagick (identify & montage) to stack pngs
replace re.match with re.search