add bar.html and _average_table.html