Added debug stuff to import