The TCL mode allows a begin/end construct and TCL code without the leading '@' characters. Add the function name to the hook code comments that are generated. Reset the line counter to 1 between driver modules for error reporting.