Rename some files
synchronizing img management thread