fixed scripts / repl