I offered to install an outside light for my sister. The cabling from the house was already in situ and terminated in a plastic junction box and had not been used for years. I removed the cabling from the box and discovered 4 wires, I green/yellow, I red, I black, and 1 blue. The light only had, green/ yellow, brown and blue. I connected both green/ yellows together, the red and brown together, and the blue and blue together. I isolated the black. I hit the switch in the kitchen, the bulb flashed ( not flickered) and continued to flash at random. I disconnected everything, brought the new light home, connected it to a 13 amp plug, and it worked beautifully. What am I doing wrong?