Work in progress on changing to run() returning pid