Now saves the image instead of just showing