edit Plugin.php