Add build html functionality