replace console with process.stdout/err