Update search_library.py

Just a few changes.