I can take a look at this, I definitely don't like grubbing in inifile in this way.