This is an easy one. In the script, find the line that looks like this:
if (/\.(\w{4})\.swr\.(\w\w)\./) {
and change the "s" to an "r":
if (/\.(\w{4})\.rwr\.(\w\w)\./) {
I'm also taking this opportunity to declare version 1.0. As such, you can change these lines:
# Last Updated March 26, 2004
# v.0.98
to this:
# Last Updated July 5, 2004
# v.1.0