change from CLI to webapp2/jinja2 app