Script: Refactoring tSequence