Is there a way of retriggering generateScript function again to overwrite existing part or does this only execute once?
generateScript() method is called when the program is started.
Following this, the combined script is sent for execution.
Changes will only have effect again, if the program is stopped and then started.
Seems when we save the program, this function will be called as well.