Milled part is mirrored and turned clockwise 90 degree

I have had my mpcnc working but when I cleaned up the cables the result is so strange… The milled part is mirrored and turned clockwise 90 degree.
When I manually drive the cnc with Repetier it behaves correctly. X+ is up, X - is down, Y + is right and Y - is left. But when I send a gcode for milling I get this strange result.

Any idea whats wrong?

Y+ is up/away from you
x+ is to the right

Ahh… Emerassing - Thanks! Time to reboot my brain :slight_smile: