- adjustments to get modified receiveScan to work correctly