added tmp and cache settings