Added modulo to scanner.ml