Adjusted listening script to automatically enter data in sqlite3