new support for renaming and removal of directories