You definitely need to figure out where those wires went and reconnect them, they are what is causing your IMA light. If the light was due to a weak pack the light would not come on until the car had been driven and the computer had observed battery performance below acceptable levels. A disconnected wire would set an IMA light right away.
__________________
|