added plugin with parameters, added support in host app for parameters