Install motion light, dimmer, LED recessed, correct flickering lights and add an attic fixture. Troubleshooting connection with switching as needed.