Merge pull request #40 from teharrison/master

metadata correlation scripts
Merge pull request #41 from teharrison/master

more additions for fdr stuff
bug fix
no need this