Added subtemplates engine to print layout