All you should need to change is the initial assignment of template_path:

```python
template_path = settings_overrides.get('template_path', os.path.join(os.path.dirname(__file__), "templates"))
```