Add head_grep to grep only the first few lines