Made a few modifications to DocRater