> For the complete documentation index, see [llms.txt](https://docs.klai.studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.klai.studio/getting-started/ide-quick-tour/environment/global-scripts.md).

# 5.3 Working with Global Scripts

This page is for managing <mark style="color:red;">global actions</mark> within your app. You can:

* Create new scripts by clicking "+ New Script" in the first panel.
* The second panel shows your current script, where you can:
  * Add actions
  * Rearrange actions via drag-and-drop
* Edit action details in the third panel.
* Remember to save changes.
* In the top-right corner, switch to the **JSON Editor** to work directly with JSON.
* Next to the Save button, use the ellipsis to access the **Roll Back** option for reverting to previous versions.
