modify script for backup tool

Change-Id: I0cf9803f9a9307288846fa3d18be78e7b788b400