changed to JPEG instead of PNG