Added node.rb script. It does all the magic.