Allow the repl script to be invoked from any directory

Hopefully GitHub won't try and add any oft experiments to this pull request