Changes some links and deletes unused images