use directory to store tmp files in store.sh