modified code
added assertgrep and assertrpm support