added creating of the dirs