use cql instead of cli