add html_output and html_dependency functions