Trying to get the scanner demo to work