script to create html file of output