Changing module settings from script

Is it possible to use scripting to change the settings for an ignition module?

I have a project that uses MQTT to transfer data from Edge nodes to a central gateway. Since the central gateway will be given to an equipment supplier and the edge nodes will be on the equipment they sell to their clients, i need a way to enter the server URL info and edge node ID without having to give anyone access to the gateway settings page.

Is there any way to enter the info in Perspective, and use a script to apply it to the settings?