 
     init(config: Configuration, insnapshot: Bool) {
         guard config.task == ViewControllerReference.shared.snapshot else { return }
+        self.insnapshot = insnapshot
         self.snapshotslogs = ScheduleLoggData(sortdirection: true).loggdata
         self.config = config
         self.getremotecataloginfo(insnapshots: insnapshot)

            let num1 = Int(str1?.dropFirst(2) ?? "") ?? 0
            let num2 = Int(str2?.dropFirst(2) ?? "") ?? 0
            if num1 <= num2 {
                return true
            } else {
                return false
            }
        }
        self.snapshotslogs = sorted.filter({($0.value(forKey: "snapshotCatalog") as? String)?.isEmpty == false})

    private var catalogs: [String]?
    var expandedremotecatalogs: [String]?
    var remotecatalogstodelete: [String]?
    var insnapshot: Bool = true

    private func getremotecataloginfo(insnapshots: Bool) {
        self.outputprocess = OutputProcess()
