I got a new attic fan, and the wires won't quite reach to the junction box that the old fan was wired to. What's the easiest way to complete this connection in a code-compliant manner? Everything is easily accessible as it's all mounted to the roof rafters.
Should I unmount the current junction box and see if there's enough slack in the wires to move it over a couple of inches? Mount a new junction box to connect to both the fan and the old junction box? Something else entirely?