Bugfix: properly import database info in fill_database