1. A method performed by a device associated with an apparatus, the method comprising: receiving a script from a processing device, the script containing simple object access protocol (SOAP) commands for execution, the script defining one or more variables that are used in execution of the script, at least some of the SOAP commands in the script including corresponding arguments; interpreting the script to execute functions contained in the script; parsing the SOAP commands from the script during execution of the functions; executing the SOAP commands; wherein the apparatus is configured by execution of the SOAP commands and the functions; and wherein the execution of the SOAP commands and the functions comprises passing a variable in the script as an argument to a first SOAP command, returning an output of the first SOAP command to the script, and executing a second SOAP command based on the output.