added support for cli param for grep