Instead of three separate functions, consolidate to SetStdio()