Wintermute is normally configured by receiving commands from Qlab. However, it can also be tasked to create a local setup file that can be executed without external input (via the Console if necessary).
To create a setup file, call setup_start, run the setup from Qlab, and then call setup_end to complete the process.
Note that commands initiated from the Console will not be recorded in this process.