Added root-based kill for CoC in the 'executeLogic' function and an experimental re-launch logic, still untested