changed rshell.cpp