adding mkdir for spark