Glad the suggested solution worked for you!

I used Toolbox and Classify for my script. I needed to validate my inputs and user made conditions so states did not work for me.