changed order of compress templates.jar before main