Added random flag selection, the mod is now functional.
Added AND to tag blacklist.
Added flag generation.
Fixed cores not being correctly added for regions.