Moving things to strict mode, with fixes
Making downloads work for non-owned queries