Fix arguments in scripts/export_database