Implement generation of images
Use cp instead of copy