modified creating directoris, should easier to debug and more paralel execution