Updated resending of library

When there are error conditions, will resend the library