Add scanner to main