added grep filter
new output code. grep is now regex