Adding a battery to '87 PX


I am almost done with full restoration of my PX. It did not have a battery, so I ordered a new loom and switches, but connecting on the ignition side is a problem: there are blue and black wires coming out of the engine, but there are 5 on the loom: black, green, red, yellow, and gray.

Can anyone help?