Fix/script timeout csv

For 1000+ submissions, the export takes more than 30 seconds and fails with a fatal error. This fixes the issue.