modified importing script