changed the logic to import products