minor changes to init_db and config.py