Updated mssplist funciton to return a list of dics