Removing bad scripts