wiper motor woes

Okay so tonight I had loads of fun removing cleaning and reinstalling my wiped motor to no avail. I used a true 12 volt supply and although the motor does not sound awesome it works and spins. I tried running a ground from the battery to the case that did not help. So two questions how are the two connectors supposed to be connected they are the same connector with different color wires. Next question any ideas what else? Wiper switch maybe?