Changed how records are being created on upload (first draft)