HTML generate script