plugin: added plugin handling