rename command and functions