Replaced calls to scanreset with scanstart where required.