Hook the command processing into node