updates to allow configuration of libraryscanning