update to scandd

some documentation and cleanup