Added logic for multiple inserts of excel spreadsheet records.