making search configurable