persist the post-receive hooks, fix up some namespacing bugs
rename a confusing variable