improvements in scandb