Fix migrate script
Fix example script to work with new schema.
fix problem indexing long file_size.
Add NTR to treatment regex pattern
CORS Allow Range header. Also needs configuration of S3 buckets.
Tweak CORS headers.
Merging in master.