Made templates configurable