hey i found someone who knew what was wrong with this script.
while {[string first Updated $wzout] == -1 && $i < 1000} {
this is the problem with the code. its searching the first 1000 lines but the data it needs to work properly was moved to line 1300 or so. so its pulling up no data.
while {[string first Updated $wzout] == -1 && $i < 1500} {
this should make it work properly again.
thanks to my friend Interlude for helping me fix it