Completely refactor the original provider

The original script has been completely revamped, with the addition of a dynamic provider.