fixed sourcing detection
added getAllDiskNames function