to run the doWP.cc