Ahem. Doing loads of stuff to inst->cfg would probably be best done