Alternator wiring

OK, I took the wire off the ignition side of the regulator and have now run a ground wire from the second terminal to the top bolt that holds the alternator to the engine block. Now when I start the car up the idle is just like it was before I changed alternators. Idle is choppy, amp gauge needle jumps back and forth between the charge side and the middle and headlights dim. Does it matter which terminal I use for the ground or do I need to change my ground?

Thanks,

Dan in Silicon Valley