Adding some more jinja stuff, getting ready to render.
Messed up the var names. Changed env to jinja_env