added ability to modify command's default permissions