Wire dependencies automatically into the HTML, and added a clean step.