Added Jinja2 templating