Added state transition scripts

Archived old scripts.