Modify scripts
Immutate thei state_ptr.