 
 class ViewControllerVerify: NSViewController, SetConfigurations, Index, VcMain, Connected, Setcolor, Checkforrsync {
     var outputprocess: OutputProcess?
-    var index: Int?
     var lastindex: Int?
     var estimatedindex: Int?
     var gotremoteinfo: Bool = false


    override func viewDidAppear() {
        super.viewDidAppear()
        self.index = self.index()
        if let index = self.index {
            let config = self.configurations!.getConfigurations()[index]
            guard config.task != ViewControllerReference.shared.syncremote else {
                self.gotit.stringValue = ""

    }

    @IBAction func displayrsynccommand(_: NSButton) {
        if let index = self.index() {
            if self.verifyradiobutton.state == .on {
                self.rsynccommanddisplay.stringValue = Displayrsyncpath(index: index, display: .verify).displayrsyncpath ?? ""
            } else {
                self.rsynccommanddisplay.stringValue = Displayrsyncpath(index: index, display: .restore).displayrsyncpath ?? ""
            }
        } else {
            self.rsynccommanddisplay.stringValue = ""
        }
    }

    // Abort button
    @IBAction func abort(_: NSButton) {
        guard self.processRefererence != nil else { return }
        self.processRefererence!.abortProcess()
    }
