changed how to load libs