Make main search use glob patterns