Test and install. My first one I did I screwed up the wiring and it was correct on the door but reversed on the master switch. (how I came up with that helpful tip)
if the motor works correct off the door switch but is reversed on the master- swap the green (86) and the blue(85) wires in the above diagram.
if the motor goes the same way on the door and master switch but is reversed. swap the purple (30) and blue (30) wires in the above diagram.