Changed delete to permanently delete on systems that don't support move to trash