Bash script for search_objects.py