HtmlEntitites only when not in CLI mode