Add the code for adding and running a new process.