ticket:5 make dirs automatically