Patched pluginpackage.php