Index open as read-only in app.py