added cli version querying