add a bool to disable networking