added web/ipynb switch