Adding additional JPEG stuff