Code manipulated for new image.