Changed the way that we spwan child processes

Paired so no need for review.