Search.py now with history