Solved some directory commit that did not belong. Added creation of missing dirs