Fix local REPL shell script