scripts for clean up temporary directories