[PATCH imagefactory 23/32] Consolidate the setting up of the oz config object.