scripts: sync with master

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
3.7.4: and script changes

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>