Changed PNG output to JPEG