Finish the scanner