Replace messy aliases of url encode/ decode with short scripts (which are checked by pre-commit), use fileinput for instead of messing with redirects.