Command get modified to accept stdout