Added the start of permissions.
Too much stuff to count; I'm bad a this
Better Security