add the process watcher code