Added auto lib adding