Apply serveral Opering System Commands to Ray. (Second Change)