html/templates now are included at the correct positions.