Added a RunCPU function.