Remove the lists lib_delete and lib_add, and use library_scanned.