1. A device, comprising: a display control unit configured to display a Web page on an operations panel, the Web page including a script for controlling the device; an execution unit configured to cause the device to perform a process according to an instruction indicated by the script; and a storing unit configured to store information indicating whether respective instructions indicated by scripts require charges, wherein the execution unit is configured to determine whether the instruction indicated by the script included in the Web page requires a charge by referring to the information stored in the storing unit, and update charging information for the process performed according to the instruction indicated by the script when the instruction requires the charge.