update templating engines and add detailed result logging