Corrected rb Unassigned Var and added or to the apple script

This allows for operation on 10.8.4 and Thinks 2.2.1