adding command to run the states