backup before changing img1 and img2