import database script updated