Revert "Revert "This code should add the ability to set the Lightpath on the scanner.""

This reverts commit 35d3b57841245eca7454bd3301af32e113fdc43e.