Added support for detecting hd or sd devices. Moved block of code to get disk health and status to a sub