Rewrote the usage of the plugin

Now there is one function, which takes the forms the script should work
with as parameter.