New functionality to automatically rename images