Adds links to valid endpoints due to directory structure, as well as tracking code