Update scripts according to upstream update