You will not need to scan your passport at the kiosk. Just walk straight through and go to the line marked "Foreign Nationals". Sometimes it's best to ask at the kiosk but last week I scanned my passport, got my picture taken but nothing printed out. It just said "see agent". The officer at the kiosk said I don't need to scan documents, just go straight to immigration. At the bottom of the ramp I asked again about permanent residences and was directed to the "foreign Nationals" line. In and out easy peasy. It seems the days of "stand there", "why are you standing there, stand here" are gone, but it pays to ask an agent at every step.