Spliced flap controller wires, installed ring terminals and connected to terminal strip. 12 sec timeout not working on flap retraction. Reversed wiring on flap motor and it now times out at 12 seconds on retraction. Ran 8 conductor wire for A/P disconnect, smoke switch, ground and speed sensor. Installed all ring terminals and connected to terminal strip. Ran 3 conductor wire for flap indicator. Installed WDG clamps for wiring. Repaired flap ground connector.