Adding accumulation of output results for running commands