Get un-confused about stdin and stdout