Tried adding the last block of code into the imperial_campaign_regions_and_settlement_names.txt and putting it in your modfolder as well (if you're working inside one)?