Basically the main code issue will be to be sure all of the J boxes remain accessible.
Did the cut the wire or just pull it until it broke. The latter might make things a lot tougher.


Greg Fretwell