Start working on script for getting/setting state.