Get the dirs right