adjusted constants to retrieve new avaiable protocols
simple refactoring on the xpath query engine: now prining results to a file