Some modifications - incl repl auth script
changes