Changed logging of stdout/stderr in accordance with README