updating template file, adding html output file