improved library liading utilities