added path tokens to links