Added forking in collector