Update scripts.

Based on 6912bdc.