Improved how RAID config is being handled. Also added new functionality for debugging