Converted the system to use Text::Xslate