made some changes to rshell