unless im misunderstanding the question, Mosg goes over this in his video where hes talking about his capacitor and his switching leader. youre going to need to do some manual text based editing to get those to work properly.

basically when you swap leaders youre going to need to reload the dxn regions to reflect it. i recommend watching his video again where he talks about hsi setups and has a notepad open with a bunch of text. thats the part where he explains how his leader swap hotkey works.

https://www.youtube.com/watch?v=1jjridfGJMM
for reference