Switched to sys.stdout