now sure how but this got ag to work as grep.