Double checking from our convo, does this work if the command output a version on line 2 of stdout now line 1 of stdout?