Replaced util.puts with console.log due to deprecation in Node 0.11