Improved stub-generation script: ability to select random files with random quantity