There are two ways to manipulate the host sequence. Note that you can only add (and sometimes remove) actions, you can not re-order stages.
Whenever you add one of your programs into the sequence, PHost will save all its data to disk, close all files and so on, and run your program. It will then read back the host data, verify it, and continue.