changin scope for db_config