The Life Cycle of a Script