Based on the above limitations, adhere to the following guidelines for writing scripts to ensure consistent behavior:
Dependencies: The values set by the script should only depend on the input parameters.
Idempotency: If the script is designed to execute multiple times, the model should not change. For example, if the script generates new objects, it must also delete those objects created during the previous execution.