Get rid of obsolete scripts.