How do you send multiple commands, or enter config mode using the Execute Verb in Cirrus.ConfigArchive?

Trying to build a script that would do a rename of multiple devices based on an input csv for old/new name.  Looking to use the execute script option via the API, but not finding how to enter into config mode, or how to send multiple commands.

https://github.com/solarwinds/orionsdk-python/blob/master/samples/ncm_execute_script.py

Script is just a string, and have tried using /n/r or /n with no luck to send a carriage return as a simple test.