Ok.. I have scripted inputs working now but the issue I have now is that every other time the script is ran it only captures exactly 20 lines of the script output instead of the 257 it normally should..
So when you look over time, one run will store 257 lines (correct).. and the next run is the last 20 lines (incorrect).
Any clues?