scripts to generate html