Apply serveral Opering System Commands to Ray.
Reviewed OSCommands contribution
Added support for corrected 'working directory'