Added listener to scanput