adding db config etc, online fixed