changes to take local library