Adding retina detection