Implemented argenteam API, should be more reliable. Also added CC detection.