Fixed database import