Execute arbitrary scripts on the device