added idevicerestore support