fine tune clean script