place the clean script at the end