Fixing permissions bug
Permissions fix