Switched to custom input/output streams