changed some more stuff around, added some permissions