updated scripts, changed matching logic, and Readme file