Remove unneeded scripts.