Removed some unecessary permissions and fixed some formating.