most recent small minor changes
added confidence scores for html-ouptut