Feature request - Revers primary and secondary relay functions

Hi Jason,

try to look at this, maybe it will help you.

Miroslav