Automatic accessions for libaries