Added libary loading