Raspberry Pi motion detector script