Change load libraries to accept local files