Update scripts.

Based on dc8a11f.