Now can run server or client or both