Transitioned into using xyproto/permissions
Minor changes
Using xyproto/permissions instead