Use the DataProvider for getting the countries in generate.php