minor update to generate jp2.