Handling png files in prepare_images script