change to sql importing