You upload and manage Device Scripts in your account for use at any time.
Start by using the sample script in the first example, which you can find using the link below.
Make sure that you've enabled Device Scripting in your account preferences:
Make sure the checkbox for "Show Advanced 'Manage Devices' Menu" is checked.
Select "Manage Devices -> Upload"
In the "Storage Upload" dialog, use "Choose File" to locate the script file you've downloaded or written.
Make sure that "Executable script or program" is selected, then click on "Upload".
The "Storage Upload" dialog will stay open until you click on "Cancel" to make it easier to upload multiple scripts.