add the rm -rf to the tmp