Control script cleanup