dramatically cleaned up script, also now grabs some MAF files from
directories that use a different naming convention than was previously
used at the DCC