added ability to add libraries