scripts states