added support for database bootstrap