Improved the matching algorithm and the country-matching patterns.
Added a script with the usage example of the README.