Added support for --udid to the reset scripts.