How to combine scripts with raw commands?

You need to run the command using ClickData.Func.Command.RunCommand, the same as all the other commands are being run in your script.