Use system tmp folder and ensure correct vars are used