modify scrap script