Replace obsolete scripts