add global process

That was luvi has a change to do any cleanup it might want.