fixed some things, dropped requirement back to python2 due to jinja2 currently being experimental on python3