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