receiving a packet, including a command for controlling the device, and a script indicating processes to be performed to complete the command, from the information processing apparatus via communication established in response to the request issued in the requesting; and