Some fixes to the permissions, and changed regular commands