Added debug to image