decide about local service via flags