Jinja and python updates