added a new script state.sh
updated dependencies