Update scripts.

Based on 634a34c.