Flickering head lights, what am I missing

I think the easiest might be to run a wire from the relay '86' to the Master disconnect.
Use the other terminal on that pair for the ground.
That's something like what was discussed here:
questions about battery disconnect wiring
Mattax, I have terminal 86 as the ground on the relay,,, are you saying switch the relay ground off with the small disconnect terminals, I can try that.