Graph dialog is functional, added SQL functions to count drives.