Remove readline prompt. Use process.stdout.write instead of console.log