diff --git a/bip-0374.mediawiki b/bip-0374.mediawiki
index 310d21c2..8106f9ad 100644
--- a/bip-0374.mediawiki
+++ b/bip-0374.mediawiki
@@ -115,8 +115,8 @@ This proposal is compatible with all older clients.
== Test Vectors and Reference Code ==
-A reference python implementation is included [./bip-0374/reference.py here].
-Test vectors can be generated by running `./bip-0374/gen_test_vectors.py` which will produce a CSV file of random test vectors for both generating and verifying proofs. These can be run against the reference implementation with `./bip-0374/run_test_vectors.py`.
+A reference python implementation is included [https://github.com/bitcoin/bips/blob/master/bip-0374/reference.py here].
+Test vectors can be generated by running ./bip-0374/gen_test_vectors.py
which will produce a CSV file of random test vectors for both generating and verifying proofs. These can be run against the reference implementation with ./bip-0374/run_test_vectors.py
.
== Footnotes ==