added correction to io redirection to rshell