Create draft dir outside for loop to avoid calling it multiple times.