Added support for Jinja2 and MySQL-python