updated and functional rshell except using information on connectors to determine how each command should be run