fixed pathing, dir creation