QRRecognition script, relocate function.

QRRecognition script, relocate function.