Convert level loading to the new format