only use process.stdout when ns is progress