Added some modifications/improvements

Improved single file rename to have directory first and added '/' character to end of directory names.