output the exit code for every command run as part of the :script stage