Now handles ranks if no ranks are in the config
Now properly renames villages.