change main templating system