added validation because for some reason it doesn't read the libraries from the laptop