Why Won't This Script Save a CSV

Hey everyone - trying to make this script work for scraping twitter, but can’t work out why a CSV is not being saved.

Script here:

Any help most grateful!