Adds query for miscDB.  Needs to have path to retriever database added in there, once that is set up.