updated clean script