This import.R file replaces the old import.R file

A few changes and improvements to the old file in the createMetadataTable function.