Some more work attempting to get spreadsheet uploading working.