Added setter and getter for temp dir