Fix make_full_db.sh script