Made QR code optional