implemented template post processing and templated dependencies