Golf cart won’t move

My golf cart was sluggish going up hills so I decided to change the wires all of them motor battery wires. When I went to use it ignition wire overheated and the solenoid overheated. I’m not sure what I could’ve done wrong. It’s a 2002 easy go TXT 36 V.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0