UPDATED Plugin.php