modified scripts to write html output as part of evaluation