Reimported the database and added logic for printing the replies on a particular thread