Changed the way we deal with images in classic_scan