2011 Ford F-150 - It now works backwards

I changed a running board motor and now the running board operates backwards, when I close the door the board deploys, what the heck?

Is it possible that there are different motors for driver vs passenger sides and installed on the wrong side? Or if they do not have plugs on the motors and have terminals could the polarity have been reversed?