Moved command launching code from shai-hulud into here