Added ability to capture output from nodetool