Renames images and removes unused image