Modified clean script