Added Passtport code from @HenriNijborg.