Data import logic working