That is where the problem is, in the connections at the battery terminals, or where you are flexing the cables moving them to changing the batteries.