The scaling of iron in oxygen and sulfur-containing gases