Auto create log, tmp dirs on init