update ch09 scripts