- script to check the state issues