Not sure if this is a problem anymore, with earlier versions, maybe. Sure, you need to take care of case-sensitiveness of the settings, but not a big problem, really.
A simple bash script that does defaults write <setting> or defaults delete < setting> works just as fine. -- users@sogo.nu https://inverse.ca/sogo/lists