clean up plugin directory structure