Just tried this out, and only the web UI script worked for me.
By the way, is it possible to use this with AnkiWeb instead of as a separate Anki app? I make a lot of new cards every day, so it would be a hassle to manually export and update my .csv files.