This must be changed to pass in `[]` as the first argument, not `None`. If you try to run almost anything in this script without the env var set, the script completely crashes, from trying to iterate over None (because it expects `filenames` to be a list, even when empty).