removing legacy scripts