make templates configurable