improve clean script