Alien elements generation

Plus cosmetic changes to csv_image_factory