add perl plugin support