Faster script due to fewer attribute tests done

Test ATTR idVendor once if it is the right vendor, then go directly to bottom of script if done. If not right vendor code, then scip vendor tests for that vendor.