removed limit switch
fixed mag
Final-auto code