added buildHtml task and subTasks