Added HTML output mode