Add a db mode control
Fix timeout on GAE