Commenting and added permissions.js