I just took down a standard light fixture to replace with a ceiling mount fixture. I have attached the picture of the load of wires that are coming out of the junction box. The 4 wires that are not connected were previously connected to the old light fixture. In using a volt tester the only live wires in the bunch are the group of 3 black wires with the wire connector on. Not sure how the old light worked with no live feed going to it? Any suggestions on how this should be wired. 2 light switches control the light and there are 2 other lights on the same circuit that are currently not working without the new light working. I have attached a picture