JPG export is now working