added ShowToken option to scanner: needs to be made into a function call