prevent scripts in tpls from being executed more than once