update scripts & tests