private void disposeReplicaRun() { SetReplicaRunBool(false); ioHelper.DisposeReplicaScript(Path.GetDirectoryName(scriptPath)); }