initialize the dirs