modified bugs to import plugins