Updated bulkload script to work with RecordIndex bulkloading