Modify script about Shrink database