Fixed run to return stdout