adding in fix to passing the PID back on the create process