Simplified Req'd Code, added DeviceMotion jq