Reorganizing scripts in preparation for drawing logic implementation.