implemented some basic matching logic, changed script name