As far as stepper orientation goes you should uncomment it and set it to 0 and make sure that Z is the stepper motor on the left and Z2 is the stepper motor on the right. If in the wrong spot this correction can happen by either swapping plugs on the mainboard or even just by going into that pins file and swapping Z with Z2 under the steppers pins.