added different ways to call nodedump