updated lib and changed directories to load lib