Added Support for multiple selected nodes