harthur/replace — pull request #6 by maxogden (2012-11-07 16:15:42+00:00)
Title: allow for repeat programmatic usage

there is probably a better way to do this but this works. the problem was that if you require the module and then use it then it modifies the globals at the top in a way that breaks repeat usage