hhhmm ...
I analysed the script and it is correct. You need to have 40 flights departing or arriving from 40 different european countries.
The ICAO country code 2-letter prefix must be contained in :
'EB','ED','EE','EF','EG','EH','EI','EK','EL','EN','EP','ES','ET','EV','EY','LA','LB','LC','LD','LE','LF','LG','LH','LI','LJ','LK','LL','LM','LO','LP','LQ','LR','LS','LT','LU','LV','LW','LY','LZ','BG','BI','UK','UL','UM','UR','UU','UW'
So, I am going to check manually your flights in order to look at it.
Regards,