Replaced references to external libraries with local files