make TDL TEMPLATEs and INCLUDEs work