Script to generate COW country codes