Add collectProcess and runProcess