captured the stdout/err output from load