Remove unnecessary scripts.