Cleaned up plugin.php