Prelim script architecture in place