Make the template root configurable