handle dependencies for html templates; implement html template workflow