use ag when available for searching