add plugin support