made changes to rshell and added signals.script