clean script fixed