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

It was crashing due to memory leak of the image magick version installed on server.

This reverts commit 16205af6785384c39999696cb1594d40b04abcf7.