Fixed  3 node script to actually use 3 nodes.