diff --git a/sources.csv b/sources.csv
index d5fa7aff..3f37c533 100644
--- a/sources.csv
+++ b/sources.csv
@@ -22,7 +22,7 @@ ug-flag-bali.png,,,
ug-flag-bangladesh.svg,,,
ug-flag-barbados.svg,,,
ug-flag-belarus.svg,,,
-ug-flag-belgium.svg,,,
+ug-flag-belgium.svg,https://commons.wikimedia.org/wiki/File:Flag_of_Belgium.svg,PD,resized
ug-flag-belize.png,,,
ug-flag-benin.svg,,,
ug-flag-bermuda.svg,,,
@@ -55,7 +55,7 @@ ug-flag-colombia.svg,,,
ug-flag-comoros.svg,,,
ug-flag-cook_islands.svg,,,
ug-flag-corsica.svg,,,
-ug-flag-costa_rica.svg,,,
+ug-flag-costa_rica.png,https://commons.wikimedia.org/wiki/File:Flag_of_Costa_Rica_(state).svg,PD,"converted to PNG, optimised with optipng"
ug-flag-croatia.png,,,
ug-flag-cuba.svg,,,
ug-flag-curacao.svg,,,
@@ -179,7 +179,7 @@ ug-flag-palestine.svg,,,
ug-flag-panama.svg,,,
ug-flag-papua_new_guinea.svg,,,
ug-flag-paraguay.svg,,,
-ug-flag-peru.svg,,,
+ug-flag-peru.png,https://commons.wikimedia.org/wiki/File:Flag_of_Peru_(state).svg,PD,"converted to PNG, optimised with optipng"
ug-flag-philippines.svg,,,
ug-flag-pitcairn_islands.svg,,,
ug-flag-poland.svg,,,
@@ -252,7 +252,7 @@ ug-flag-uruguay.svg,,,
ug-flag-uzbekistan.svg,,,
ug-flag-vanuatu.svg,,,
ug-flag-vatican_city.svg,,,
-ug-flag-venezuela.svg,,,
+ug-flag-venezuela.png,https://en.wikipedia.org/wiki/File:Flag_of_Venezuela_(state).svg,PD,converted to PNG
ug-flag-vietnam.svg,,,
ug-flag-wales.svg,,,
ug-flag-yemen.svg,,,
diff --git a/src/data.csv b/src/data.csv
index 4adda03b..1ff32fb0 100644
--- a/src/data.csv
+++ b/src/data.csv
@@ -142,7 +142,7 @@ czq?(.f9rK,Syria,Syrien,,,Damascus,Damaskus,,,,,"",,,"","UG::Asia UG::Sovereign_State"
ei3G6ous#%,"Sri Lanka","Sri Lanka",,,"Sri Jayawardenepura Kotte","Sri Jayawardenepura Kotte","Colombo is often referred to as the capital but Sri Jayawardenepura Kotte, a suburb of Colombo, is the official, legislative capital.","Colombo wird oft als die Hauptstadt bezeichnet, aber Sri Jayawardenepura Kotte, ein Vorort von Colombo, ist die offizielle, legislative Hauptstadt.",,,"",,,"","UG::Asia UG::Sovereign_State"
eLiW%Al2Is,Tajikistan,Tadschikistan,,,Dushanbe,Duschanbe,,,,,"",,,"","UG::Asia UG::Sovereign_State"
-f)aQmJp.B?,Thailand,Thailand,,,Bangkok,Bangkok,,,,,"","Costa Rica (blue and red inverted)","Costa Rica (Blau und Rot vertauscht)","","UG::Asia UG::Southeast_Asia UG::Sovereign_State"
+f)aQmJp.B?,Thailand,Thailand,,,Bangkok,Bangkok,,,,,"","Costa Rica (blue and red inverted, with coat of arms)","Costa Rica (Blau und Rot vertauscht, mit Wappen)","","UG::Asia UG::Southeast_Asia UG::Sovereign_State"
"d@=,E(oqDu","East Timor",Osttimor,"Also known as Timor-Leste.","Auch Timor-Leste.",Dili,Dili,,,,,"",,,"","UG::Asia UG::Southeast_Asia UG::Sovereign_State"
mLG*@5t=NG,"United Arab Emirates","Vereinigte Arabische Emirate",,,"Abu Dhabi","Abu Dhabi",,,,,"",,,"","UG::Asia UG::Middle_East UG::Sovereign_State"
stDJ0UMUpB,Turkmenistan,Turkmenistan,,,Ashgabat,Aschgabat,,,,,"",,,"","UG::Asia UG::Sovereign_State"
@@ -161,10 +161,10 @@ f0(HVIK@$w,Colombia,Kolumbien,,,Bogotá,Bogotá,,,,,"","Colombia (no coat of arms)","Kolumbien (kein Wappen)","","UG::America UG::South_America UG::Sovereign_State"
ow]5&Kht`e,Guyana,Guyana,,,Georgetown,Georgetown,,,"One-word country name",Ein-Wort-Ländername,"",,,"","UG::America UG::South_America UG::Sovereign_State"
qksH)(ibFv,Paraguay,Paraguay,,,Asunción,Asunción,,,,,"",,,"","UG::America UG::South_America UG::Sovereign_State"
-h%Lx8uxLJ{,Peru,Peru,,,Lima,Lima,,,,,"",,,"","UG::America UG::South_America UG::Sovereign_State"
+h%Lx8uxLJ{,Peru,Peru,,,Lima,Lima,,,,,"",,,"","UG::America UG::South_America UG::Sovereign_State"
"i0)jG,7&w>",Suriname,Suriname,,"Auch Surinam.",Paramaribo,Paramaribo,,,,,"",,,"","UG::America UG::South_America UG::Sovereign_State"
cBO(I-Le=v,Uruguay,Uruguay,,,Montevideo,Montevideo,,,,,"",,,"","UG::America UG::South_America UG::Sovereign_State"
-mkj;-5D/)m,Venezuela,Venezuela,,,Caracas,Caracas,,,,,"",,,"","UG::America UG::South_America UG::Sovereign_State"
+mkj;-5D/)m,Venezuela,Venezuela,,,Caracas,Caracas,,,,,"",,,"","UG::America UG::South_America UG::Sovereign_State"
qd$w_!A9y<,"Cook Islands",Cookinseln,,,Avarua,Avarua,,,,,"",,,"","UG::Oceania UG::Sovereign_State"
iaA$(k1aV>,"Federated States of Micronesia","Föderierte Staaten von Mikronesien",,,Palikir,Palikir,,,,,"",,,"","UG::Oceania UG::Sovereign_State"
b`8}eUH!Ii,Guam,Guam,"Unincorporated territory of the United States.","Nichtinkorporiertes US-amerikanisches Außengebiet.",Hagåtña,Hagåtña,,,,,"",,,"",UG::Oceania
@@ -183,7 +183,7 @@ e%!;xc:jxC,Bermuda,Bermuda,"Overseas territory of the United Kingdom.","Britisch
>e=4!;^#_,"The Bahamas",Bahamas,,,Nassau,Nassau,,,,,"",,,"","UG::America UG::Caribbean UG::Sovereign_State"
cIMc3Nzy>W,Barbados,Barbados,,,Bridgetown,Bridgetown,,,,,"",,,"","UG::America UG::Caribbean UG::Sovereign_State"
rOVL2(d0m^,Belize,Belize,,,Belmopan,Belmopan,,,,,"",,,"","UG::America UG::North+Central_America UG::Sovereign_State"
-"s,m:kRL/53","Costa Rica","Costa Rica",,,"San José","San José",,,,,"","Thailand (red and blue inverted)","Thailand (Rot und Blau vertauscht)","","UG::America UG::North+Central_America UG::Sovereign_State"
+"s,m:kRL/53","Costa Rica","Costa Rica",,,"San José","San José",,,,,"","Thailand (red and blue inverted, no coat of arms)","Thailand (Rot und Blau vertauscht, kein Wappen)","","UG::America UG::North+Central_America UG::Sovereign_State"
il{B6F&ui9,"El Salvador","El Salvador",,,"San Salvador","San Salvador",,,,,"","Nicaragua (different coat of arms)","Nicaragua (anderes Wappen)","","UG::America UG::North+Central_America UG::Sovereign_State"
b^_Av:%|%E,Guatemala,Guatemala,,,"Guatemala City",Guatemala-Stadt,,,,,"",,,"","UG::America UG::North+Central_America UG::Sovereign_State"
rGPlNG/dw%,Honduras,Honduras,,,Tegucigalpa,Tegucigalpa,,,,,"",,,"","UG::America UG::North+Central_America UG::Sovereign_State"
diff --git a/src/media/ug-flag-belgium.svg b/src/media/ug-flag-belgium.svg
index fdea6137..349a7411 100644
--- a/src/media/ug-flag-belgium.svg
+++ b/src/media/ug-flag-belgium.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/media/ug-flag-costa_rica.png b/src/media/ug-flag-costa_rica.png
new file mode 100644
index 00000000..37085c46
Binary files /dev/null and b/src/media/ug-flag-costa_rica.png differ
diff --git a/src/media/ug-flag-costa_rica.svg b/src/media/ug-flag-costa_rica.svg
deleted file mode 100644
index 526643a9..00000000
--- a/src/media/ug-flag-costa_rica.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/src/media/ug-flag-peru.png b/src/media/ug-flag-peru.png
new file mode 100644
index 00000000..3d47a391
Binary files /dev/null and b/src/media/ug-flag-peru.png differ
diff --git a/src/media/ug-flag-peru.svg b/src/media/ug-flag-peru.svg
deleted file mode 100644
index 70bea263..00000000
--- a/src/media/ug-flag-peru.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/src/media/ug-flag-venezuela.png b/src/media/ug-flag-venezuela.png
new file mode 100644
index 00000000..07b5b032
Binary files /dev/null and b/src/media/ug-flag-venezuela.png differ
diff --git a/src/media/ug-flag-venezuela.svg b/src/media/ug-flag-venezuela.svg
deleted file mode 100644
index f381e5be..00000000
--- a/src/media/ug-flag-venezuela.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file