adding grep to support mini_portile