fix import db script.