Rejig how permissions work

Use built in permission support for commands where possible