Script example for embed the application inside IPython.