Thank you for this really useful script.
I'd like to use your script to aggregate multiple results from multiple sources and I was wondering if you could provide with a way to aggregate the outputs from 'on_request_done' in a single array without using global variables inside the function?