'python rht.py path -parm=val' Now works!

You can enter -f=0.5 or -wlen=44 or -s=10 or anything of the sort and it
will communicate the values to main() along with the proper flags.