Add REPL script as example
Add logging information to REPL command
Change print by "stdout" write