Added state type parameter with full stack scripts.