Trying to work out why not getting updates for a particular output from a script

It works more reliably if you click the button then paste the text in.