fixes #15 - image generation process