update build script to build repl rather than registry