Implemented rename sub command