generateImages in series, not in parallel. It was spawning too many processes and crashing