diff --git a/wally-pipelined/bin/exe2memfile0.pl b/wally-pipelined/bin/exe2memfile.pl.old
similarity index 100%
rename from wally-pipelined/bin/exe2memfile0.pl
rename to wally-pipelined/bin/exe2memfile.pl.old
diff --git a/wally-pipelined/linux-testgen/testvector-generation/fix_mem.py b/wally-pipelined/linux-testgen/testvector-generation/fix_mem.py
index d9b900099..66ff9cf03 100755
--- a/wally-pipelined/linux-testgen/testvector-generation/fix_mem.py
+++ b/wally-pipelined/linux-testgen/testvector-generation/fix_mem.py
@@ -1,11 +1,14 @@
#! /usr/bin/python3
-test_dir = '../'
-gdbMemfileDir = '../linux-testvectors/intermediate-outputs/'
-fixedMemfileDir = '../linux-testvectors/'
-infiles = ['bootmemGDB.txt', 'ramGDB.txt']
-outfiles = ['bootmem.txt', 'ram.txt']
-for i in range(len(infiles)):
- with open(f'{gdbMemfileDir}{infiles[i]}', 'r') as f:
- with open(f'{fixedMemfileDir}{outfiles[i]}', 'w') as w:
- for l in f:
- w.write(f'{"".join([x[2:] for x in l.split()[:0:-1]])}\n')
+import sys,os
+
+if len(sys.argv) != 3:
+ sys.exit('Error fix_mem.py expects 2 args:\n fix_mem.py