template external scripts with jinja