Added support for multiple product generation at once.