add support for plugins