Switched jinja to extern