Did an awful hack job to get html_scanner working