Update some old scripts

Signed-off-by: Bao Haojun <hjbao@marvell.com>