Removes direct call to sp_DataToCSV