added stdout for cmd call