appId
The app the environment belongs to.
environmentId
The environment to update.
scriptId
The script to connect.
priority
The priority for which to insert the script.
order
The order in which to connect the script (default to connect it as the last one).