#660 added Kai's remove duplicate variable_template entry script