Add function to rename jpgs