Write script to fetch countries and added country support to fetching data