added cli utils.