Add args to write_logs()
Fix variable names in update_sb()
Again, self.get_text(), not get_text()