changed code to generate images in ignored folder and deleted generated images not in folder