cleaned up unnecessary list functions, expanded libraries for better scanning, made external libraries work