expanded on permissions command