Added imported / created flag to import function. Bam.