Updated permissions, modded to work on not Raspberry Pi systems