Setting unique product id and serial.