image_set_diff: more groundwork, added shell