1. A method performed by one or more processing devices comprising: polling a server for script relating to a device; receiving the script from the server, the script being in a self-describing computer language, the script comprising simple object access protocol (SOAP) commands and executable code that is in the self-describing computer language and that defines functions to be performed on variables to be passed from the executable code to corresponding SOAP commands; interpreting a part of the script to perform a function contained in the script on a variable and to pass the variable to a SOAP command; parsing the SOAP command from the script; passing the SOAP command to a SOAP interpreter to execute the SOAP command with the variable; and repeating the interpreting, parsing and passing for a different part of the script comprising a different function, a different variable, and a different SOAP command; wherein interpreting, parsing, passing and repeating are performed without requiring further communication to the server; and wherein the function comprises an If-Then statement or an If-Then-Else statement.