adding dependencies and removing bad scripts