attachment import improvment