add code to use friendly_grep as a plugin