Improving index_db.sh usability