Now rht_local.py seems to be doing what we'd like.

Let me know how it handles and what other tweaks it needs!