Updated image saving, still commented out