set flag to generate QR CODE