Get templates working