Config Fix

Ugly but works now. Will have to have a proper look at how to use the
config parser object properly after thesis is handed in.