Change tools_def.txt generation