After you write a script, you need to save it to the proper location and ensure that it is executable. A server tool, which includes automated tools, must be located in the BASEDIR/smarts/local/actions/server directory on the host where the Global Manager is running. The Global Manager must be able to execute the script.
A client script must be located on the host where the Global Console is installed. The proper location is the BASEDIR/smarts/local/actions/client directory. The console user must be able to execute the script. Server and client tools are configured in the Global Manager Administration Console.