Add FindMyDevice, fix failure when running postats.sh