Can you please explain why you have /scanreply end point in your code. Trying to understand the difference between scanreply and scan. Thanks