Used templates to replace a few embedded HTML strings.