Refactor Script and Execution::advance() to use a flat instruction list instead