added a checkbox for renaming