added run-example2 shell for testing