# Centralized script management for Workspace

**URL:** <https://community.fibery.io/t/centralized-script-management-for-workspace/3039>\
**Category:** Ideas & Features\
**Tags:** automations\
**Created:** [July 5, 2022, 10:49pm UTC](https://community.fibery.io/t/centralized-script-management-for-workspace/3039 "2022-07-05T22:49:01Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Matt\_Blais](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/matt_blais/32/1464_2.png) [@Matt\_Blais](https://community.fibery.io/u/Matt_Blais)\
**Post date:** [July 5, 2022, 10:49pm UTC](https://community.fibery.io/t/centralized-script-management-for-workspace/3039/1 "2022-07-05T22:49:01Z")

</div>

When you have 30+ bits of javascript scattered among dozens of Rules and Buttons in a dozen Spaces, managing this codebase becomes a nightmare 😱.

If a Space or DB gets renamed, or if a DB gets moved from one Space to another, **scripts break.**

We **really** need a more robust way to manage a Workspace’s codebase of scripts - a single place where we can:

- See everywhere scripts are defined: _Space \> DB \> Button/Rule \> Action_
- Perform global search-and-replace on all our scripts (or scripts defined in a particular Space/DB)
- Maintain javascript modules - or at least some way to define **global constants** that any script in the Workspace can reference.

---

_[View the full topic](https://community.fibery.io/t/centralized-script-management-for-workspace/3039)._
