Updated JPGTemplate.bt to revision 4