implement load the libraries automatically