add cache and log dirs back, but empty