Inverting nano pins

Ive been using a nano on a 12 beet drill last year all fine.
But its always bugged me that the system isn’t set to fail safe on if anything went wrong.
Of the 12 pins on the nano im using only 8 of them can be inverted so i had to use com and NO on the relay board
Does anyone know if the remaining 4 pins can be altered or maybe some coding perhaps so i could then set the relays the opposite way around and potentially avoid a disaster