changed mode for web.py