added tmp, log directories