Made template activation configurable, off by default