Changes to remove unused images and update index