Add rarity fixer and fix up config code.