barcode check valid script up