Sorry guys. Looks like this issue was just bad execution order. The BEUW was writing to the map settings unintentionally during initialization. The code here works.
If you’re still having an issue, consider this thread: 5.4 Config not saving correctly