added a script to fix the tmp directory