Code to use in your tweaks to get device info