complete the state script slice