Updated pydiction and jade templating stuff