Loading libs correctly