Need new way of checking for libraries