scripts: merge script changes

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