fixed importation bugs and added recording of imported data associated with spreadsheet