Code cleanup
Add ability to change perm message for commands