added tool to remove sourcerefs and bookrefs