add command to node in server and peer
change switch version to use that
still need to work on ui