initial attempt at  -repl switch on invoke-scriptcs